Skip to content

Comments

gh-141627: Fix BufferedRandom inheritance documentation#141629

Open
mohsinm-dev wants to merge 3 commits intopython:mainfrom
mohsinm-dev:fix-bufferedrandom-docs-gh-141627
Open

gh-141627: Fix BufferedRandom inheritance documentation#141629
mohsinm-dev wants to merge 3 commits intopython:mainfrom
mohsinm-dev:fix-bufferedrandom-docs-gh-141627

Conversation

@mohsinm-dev
Copy link
Contributor

@mohsinm-dev mohsinm-dev commented Nov 16, 2025

Fix incorrect documentation stating BufferedRandom inherits from BufferedReader and BufferedWriter. It actually inherits from BufferedIOBase in the C implementation.


📚 Documentation preview 📚: https://cpython-previews--141629.org.readthedocs.build/

BufferedRandom does not inherit from BufferedReader and BufferedWriter
in the C implementation. Update documentation to accurately state that
it inherits from BufferedIOBase and provides combined functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants